package com.cpecc.manager.system;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cpecc.dao.system.EmailDao;
import com.cpecc.model.system.Email;

@Service
public class EmailManager {

	@Autowired
	private EmailDao emailDao;
	
	public Email getEmail(){
		return emailDao.getEmail();		
	}
	
	public boolean cover(Email email){
		return emailDao.cover(email);
	}
	
	public void save(Email email){
		emailDao.save(email);
	}
	
	public Email get(String id){
		return emailDao.get(id);
	}
}
